@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="socialForm">

            <input type="hidden" id="id" value="${socialContact.id}">

            <div class="row">
                <div class="col-sm-10">
                    <#select id="type" name="账号类型" >
                        @if(socialContact.type == "qq") {
                        <option value="qq" selected="selected">qq</option>
                        @} else {
                        <option value="qq">qq</option>
                        @}
                        @if(socialContact.type == "wechat") {
                        <option value="wechat" selected="selected">wechat</option>
                        @} else {
                        <option value="wechat">wechat</option>
                        @}
                        @if(socialContact.type == "weibo") {
                        <option value="weibo" selected="selected">weibo</option>
                        @} else {
                        <option value="weibo">weibo</option>
                        @}
                    </#select>

                    <#input id="account" name="账号" underline="true" value="${socialContact.account}"/>
                </div>
            </div>
            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="SocialDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="SocialDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/app/social/social_info.js"></script>
@}